FROM docker.qjdchina.com/qjd/tomcat7:openssl
MAINTAINER "WangXiangYang <wangxiangyang@qjdchina.com>"
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo "Asia/shanghai" > /etc/timezone
RUN mkdir -p /srv/logs/
RUN rm -rf /usr/local/tomcat/webapps/*
COPY ./sku-web/autoconfig  /usr/src/autoconfig
COPY ./sku-web/target/sku-web-1.0.11.war  /usr/local/tomcat/webapps/sku.war
CMD sh /usr/local/bin/changefile.sh